package cn.lanqiao.demo.service.impl;

import cn.lanqiao.demo.dao.CheckDao;
import cn.lanqiao.demo.entity.Check;
import cn.lanqiao.demo.service.CheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class CheckServiceImpl implements CheckService {

    private CheckDao checkDao;

    @Autowired
    public void setCheckDao(CheckDao checkDao) {
        this.checkDao = checkDao;
    }

    @Override
    public int getInoculatedAll() {
        return checkDao.getInoculatedAll();
    }

    @Override
    public Check list() {
        return checkDao.list();
    }
}
